from .frame import Frame, Timer, Passer, Event, ActEvent, EnvMesEvent
from .brain import Brain, Lib
from .env_reply import EnvReply, Stater


def test(lib, stater, time=5, speed=1):
    frame = Frame()
    brain = Brain(lib)
    brain.reg_event(frame)
    env = EnvReply(stater)
    env.reg_event(frame)
    frame.mainloop(time, speed=speed)


__all__ = ["Lib", "test", "Stater", "Timer", "Passer", "Event", "ActEvent", "EnvMesEvent"]
